17. Identifying Colors

Identifying Colors

There are lots of ways to express color in CSS. For this exercise, your goal is to choose the correct CSS delegation(s) for the standard color blue.

Which of the following CSS declarations can be used to represent the standard color for blue?

SOLUTION:
  • `color: blue;`
  • `color: rgb(0, 0, 225);`
  • `color: #00f;`

Solution

Colors in CSS